package com.ruoyi.zsix.mapper.processMapper;

import com.ruoyi.common.core.domain.process.FlowSort;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FlowSortMapper {
    /***
     * 获取流程分类分页信息
     * @return
     */
    List<FlowSort> getFlowSort();
    /**
     * 新增
     * @param flowSort
     * @return
     */
    int addFlowSort(FlowSort flowSort);

    /**
     *  修改保存
     * @param flowSort
     * @return
     */
    int saveFlowSort(FlowSort flowSort);

    /**
     * 删除
     * @param flowSort
     * @return
     */
    int deleteFlowSort(FlowSort flowSort);
}
